home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / developer-tools / aros / source / exec / memory / src / remmemhandler.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-16  |  1.2 KB  |  64 lines

  1. /*
  2.     (C) 1995 AROS - The Amiga Replacement OS
  3.     $Id: remmemhandler.c 1.1 1995/11/14 22:31:07 digulla Exp digulla $
  4.     $Log: remmemhandler.c $
  5.  * Revision 1.1  1995/11/14  22:31:07  digulla
  6.  * Initial revision
  7.  *
  8.     Desc:
  9.     Lang: english
  10. */
  11. #include "exec_intern.h"
  12.  
  13. /*****************************************************************************
  14.  
  15.     NAME */
  16.     #include <exec/interrupts.h>
  17.     #include <clib/exec_protos.h>
  18.  
  19.     __AROS_LH1(void, RemMemHandler,
  20.  
  21. /*  SYNOPSIS */
  22.     __AROS_LA(struct Interrupt *, memhand, A1),
  23.  
  24. /*  LOCATION */
  25.     struct ExecBase *, SysBase, 130, Exec)
  26.  
  27. /*  FUNCTION
  28.     Remove some function added with AddMemHandler again.
  29.  
  30.     INPUTS
  31.     memHandler - The same Interrupt structure you gave to AddMemHandler().
  32.  
  33.     RESULT
  34.  
  35.     NOTES
  36.  
  37.     EXAMPLE
  38.  
  39.     BUGS
  40.  
  41.     SEE ALSO
  42.     AddMemHandler()
  43.  
  44.     INTERNALS
  45.  
  46.     HISTORY
  47.     18-10-95    created by m. fleischer
  48.     26-10-95    digulla adjusted to new calling scheme
  49.  
  50. ******************************************************************************/
  51. {
  52.     __AROS_FUNC_INIT
  53.  
  54.     /* Protect the low memory handler list */
  55.     Forbid();
  56.  
  57.     /* Nothing spectacular: Just remove node */
  58.     Remove(&memhand->is_Node);
  59.  
  60.     Permit();
  61.     __AROS_FUNC_EXIT
  62. } /* RemMemHandler */
  63.  
  64.